package com.hongdee.crm.task.dao;

import com.hongdee.base.basedao.IBaseDao;

import java.util.List;
import java.util.Map;

/**
 * 名  称: IBcMaintainTypeTaskDao
 * 类  型: interface
 * 描  述: 维修类别接口
 * 路  径: com.hongdee.crm.task.dao
 * 作  者: wangshuai
 * 日  期:2017/2/28 10:23
 */
public interface IBcMaintainTypeTaskDao extends IBaseDao {

    public List<Map<String,Object>> findCompanyList()throws Exception;

    /**
     * 索赔类别查询所有设置的公司信息
     * @return
     * @throws Exception
     */
    public List<Map<String,Object>> findCompanyBySpList() throws Exception;

    public List<Map<String,Object>> findMaintainTypeByComIdList(String companId)throws Exception;

    /**
     * 查询工单内的公司信息
     * @return
     * @throws Exception
     */
    public List<Map<String,Object>> findCompanyByWorkOrder() throws Exception;

    /**
     * 根据公司查询设定的索赔信息
     * @param companyId
     * @return
     * @throws Exception
     */
    public List<Map<String,Object>> findSpTypeByComIdList(String companyId) throws Exception;

    public List<Map<String,Object>> findMaintainTypeByComIdAndTypeList(String companyId,String type) throws Exception;
    public List<Map<String,Object>> findSetMaintainType(String companyId,String code) throws Exception;

    public List<Map<String,Object>> findCompanyMainTainList() throws Exception;

    public List<Map<String,Object>> findCompanyMaintainlsList() throws Exception;

    public List<Map<String,Object>> findCompanyList(String code,String pcode)throws Exception;

    public List<Map<String,Object>> findCompanyByPCodeList(String pode)throws Exception;

    public List<Map<String,Object>> findCompanyByPCodeAndCompanyId(String pCode,String companyId)throws Exception;
}
